#wpcontent {
  padding-left: 0;
}

#wpbody-content {
  padding-bottom: 0;
}

#wpfooter {
  display: none;
}

toplevel_page_simply-static img {
  width: 100%;
}

.settings-error.notice.notice-warning {
  display: none;
}

/* Start plugin settings */
.plugin-settings-container {
  background: #f0f0f1;

  .components-flex-item {
    margin-left: 0;
  }

  .inner-settings > * {
    max-width: 840px;
  }

  .save-settings {
    button {
      &:not(:first-child) {
        margin-left: 10px;
      }
    }
  }

  .settings-wide > * {
    max-width: 980px;
  }

  .migrate-notice.components-notice.is-warning {
    margin: 0 0 10px 0;
  }

  .diagnostics-notice {
    margin: 0 0 20px 0 !important;
    max-width: 840px;
    border-left: 4px solid var(--wp-components-color-accent, #b32d2e);

    .is-secondary {
      box-shadow: inset 0 0 0 1px #b32d2e !important;
      color: #b32d2e !important;
    }
  }

  .diagnostics-notice-generate {
    max-width: 980px !important;
  }

  .upgrade-network-notice {
    margin: 0 0 0 40px;
  }

  .ss-align-right {
    text-align: right;
  }

  .ss-no-shrink {
    flex-shrink: 0;
  }

  .ss-integration {
    align-items: center;

    .integration-toggle {
      margin: 0;
    }
  }

  /* Navigation */
  .plugin-nav {
    padding: 25px 40px;
    height: 100vh;
    max-width: 260px;
    margin: 0;

    button:focus, button:focus-visible, button:hover {
      box-shadow: none;
      color: rgb(104, 4, 204);
    }

    .generate-container {
      margin-top: 30px;

      .generate-type {
        height: 40px;
        line-height: 40px;
        max-width: 200px;
      }

      button {
        background: #6804cc;
        border: solid 1px #50059b;
        color: white;
        text-decoration: none;
        padding: 20px;
        max-width: 200px;
      }

      .cancel-button {
        text-align: center;
        display: block;
        max-width: 200px;
        margin: 10px 0;
        cursor: pointer;
        color: rgb(104, 4, 204);
        text-decoration: underline;
      }
    }

    .components-button {
      width: 100%;
      text-align: left;
      padding: 0;
    }

    .components-card__body {
      padding: 20px 0;
    }

    .components-button.is-primary {
      width: auto;
      padding: 10px 15px;
      margin: 10px 0;
    }

    .dashicon.dashicons.dashicons-admin-links {
      font-size: 15px;
      top: 2px;
      position: relative;
    }

    .components-button > .dashicon {
      margin-right: 10px;
    }

    .plugin-logo {
      max-width: 150px;
    }

    .is-active-item {
      color: rgb(104, 4, 204);
    }

    h4.settings-headline {
      text-transform: uppercase;
    }
  }

  /* Settings */
  .plugin-settings {
    padding: 25px 40px;
    height: 100vh;
    background: #f0f0f1;

    /* Tables */
    table {
      width: 100%;

      th {
        text-align: left;
        text-transform: uppercase;
      }

      td.diagnostics-icon {
        width: 15%;
      }

      td.diagnostics-test {
        width: 30%;
        line-break: anywhere;
      }

      td.diagnostics-result {
        width: 55%;
        line-break: anywhere;
      }
    }

    /* Notices */
    .components-notice {
      margin: 15px 0 0 0;
      box-sizing: border-box;
    }

    /* Tooltips */
    .inline-tooltip {
      display: inline;
      top: -2px;
      position: relative;
      margin-left: 5px;
    }

    .dashicons-yes.icon-yes, .dashicons-no.icon-no {
      border: solid 1px;
      border-radius: 50%;
      padding: 2px 2px;
    }

    .dashicons-yes.icon-yes {
      color: #51aa51;
    }

    .dashicons-no.icon-no {
      color: #ca4242;
    }

    .formatted-label {
      margin-bottom: 10px;
      display: block;
      font-weight: 500;
      text-transform: uppercase;
      font-size: 11px;
    }

    .simplycdn-connect {
      position: relative;
      top: -7px;
    }

    /* Terminal */
    .react-terminal-line {
      margin-bottom: 10px;
    }

    .react-terminal-line a {
      color: #6fa4df;
    }

    .ss-theme-style-name {
      .components-base-control__help {
        margin-bottom: 10px;
      }

      .components-input-control__container {
        width: 200px;

        .components-input-control__input {
          text-align: right;
        }

        .components-input-control__suffix {
          padding-right: 10px;
          background: rgba(0, 0, 0, 0.05);
          padding-left: 5px;
        }
      }
    }
  }
}

.dashicons.spin {
  animation: dashicons-spin 2s infinite;
  animation-timing-function: linear;
}

@keyframes dashicons-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
